package com.ssy.lingxi.product.entity.es;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;

/**
 * 商品会员响应类
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/11/13
 */
@Data
public class EsCommodityMember implements Serializable {
    private static final long serialVersionUID = -8653465030776256694L;
    /**
     * 会员id
     */
    @Field(type = FieldType.Long)
    private Long memberId;

    /**
     * 会员角色id
     */
    @Field(type = FieldType.Long)
    private Long memberRoleId;
}
